extends BaseRoom
const BattleMain = preload("res://src/battle/battle_main.tscn")


func perform(room_node):
	var battle = BattleMain.instantiate()
	battle.current_monster_group_id = "G0"
	Events.room_perform.emit(room_node)
	
	var main = room_node.get_tree().root.get_node("MainMap")
	Globals.main_secne = main
	Globals.current_room = room_node
	room_node.get_tree().root.add_child(battle)
	room_node.get_tree().root.remove_child(main)
